package com.lhj.feignclientdemo;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 代理接口
 *
 */
@FeignClient("order-microservice")
public interface OrderProxy {
    @RequestMapping("/hello")//一定要和服务端暴露的地址匹配
    public String hi();
}
